package com.ljw.security.springmvc.service;

import com.ljw.security.springmvc.model.AuthenticationRequest;
import com.ljw.security.springmvc.model.UserDto;

/**
 * @FileName AuthenticationService
 * @Description TODO   认证服务
 * @Author ljw
 * @Date 2020/8/31 13:31
 * @Version 1.0
 */
public interface AuthenticationService {
    /**用户认证
     *
     * @param authenticationRequest 用户认证请求
     * @return 认证成功的用户信息
     *
     */
    UserDto authentication(AuthenticationRequest authenticationRequest);
}
